#ifndef _RENDER_MANAGER_H
#define _RENDER_MANAGER_H

#include <math.h>
#include "Math\MathDefs.h"
#include "Math\Vectores.h"


struct SWindowParams
{
	SWindowParams::SWindowParams():
		m_ScreenResolution(V2i(800,600)),
		m_FullScreen(false){};
	
	V2i m_ScreenResolution;
	bool m_FullScreen;
};


class CRenderManager
{
public:
			CRenderManager			() {}
			~CRenderManager			();
	void	Init					();
	void	Update					();
	void	Render					();

	void	SetResolution			(HWND _hwnd, V2i _resolution, bool _fullscreen);
	void	EnableOpenGL			(HWND hwnd, HDC* hDC, HGLRC* hRC);
	void	DisableOpenGL			(HWND hwnd, HDC hDC, HGLRC hRC);



	void	RenderSphere			(float radio,const unsigned int vstacks,const unsigned int hstacks);

	

private:
	
	SWindowParams m_sWindowParams;

	

};


#endif // !INPUTMANAGER_H
